package com.ash.service.major;

import com.ash.domain.Major;
import com.ash.mapper.major.MajorMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author : Chen Chao
 * @encoding : UTF-8
 * @date : 2021/4/2 17:02
 * @file : project06.com.ash.service.major.MajorServiceImpl.java
 * @software : IntelliJ IDEA
 * @since : 1.8
 */
@Service
public class MajorServiceImpl implements MajorService {
    @Resource
    MajorMapper majorMapper;
    @Override
    public List<Major> selectAll() {
        return majorMapper.selectAll();
    }
}
